﻿using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using VOL.Entity.DomainModels;
using VOL.System.Controllers;
using VOL.System.IServices;

namespace VOL.System.Controllers
{
    [Route("api/EQU_TOOL_TOGETHER")]
    public class EQU_TOOL_TOGETHERController :EQU_TOOLController 
    {
        private readonly IEQU_TOOLService _service;//访问业务代码
        private readonly IHttpContextAccessor _httpContextAccessor;

        [ActivatorUtilitiesConstructor]
        public EQU_TOOL_TOGETHERController(
            IEQU_TOOLService service,
            IHttpContextAccessor httpContextAccessor
        )
        : base(service)
        {
            _service = service;
            _httpContextAccessor = httpContextAccessor;
        }
        public override ActionResult GetPageData([FromBody] PageDataOptions loadData)
        {
            loadData.Value = "2";//组装
            return base.GetPageData(loadData);
        }
    }
}
